<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<table qisId="${question.qisId}" index="${question.sequence}" sequence="${question.sequence}" parent="." 
       questionId="${question.questionId}" class="line1" width="100%" border="0" cellpadding="0" cellspacing="0"
       onclick="QuestionSet.subItemClick(this, 'id=${question.questionId}'); changeCurrentNode(null, this);">
    <tbody>
        <tr>
            <th width="${3 + (indentLevel - 1) * 4}%" class="number${indentLevel}" scope="row">
                ${question.sequence}
            </th>
            <td width="${27 - (indentLevel - 1) * 4}%" class="row1">${question.name}</td>
            <td width="12%" class="row2">${question.refId}</td>
            <td width="8%" class="row2">Ver ${question.version}</td>
            <td width="16%" class="row3">
                ${question.availability}/${question.status}
            </td>
            <td width="34%" class="row4">
                ${fn:substring(question.text, 0, 35)}…
            </td>
        </tr>
        <input type="hidden" name="S-${question.sequence}" value="${question.sequence}" />
    </tbody>
</table>